package com.smartStatus.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartStatus.api.entity.SysDepartment;
import com.smartStatus.api.entity.SysMajor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 院校专业表 Mapper接口
 *
 * @author lby
 * @since 2021-04-28
 */
@Mapper
public interface SysMajorMapper extends BaseMapper<SysMajor> {

    /**
     * 获取绑定数据
     *
     * @param sysDepartment
     * @return
     */
    List<SysMajor> getMajors(SysDepartment sysDepartment);
}
